package com.mini.res;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.mini.util.LongJsonDeserializer;
import com.mini.util.LongJsonSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 项目名称：traditional-business
 * 类 名 称：RequirementPlanCellReq
 * 类 描 述：TODO
 * 创建时间：2020/12/17 下午4:15
 * 创 建 人：zhanghuiying
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel("需求规划内容查询单元格信息")
public class RequirementPlanCellRes {

    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    @ApiModelProperty(value = "单元格id")
    private Long needId;
    @ApiModelProperty(value = "省份名称")
    private String provinceName;
    @ApiModelProperty(value = "省份")
    private String province;
    @ApiModelProperty(value = "需求量")
    private Integer needCount;
    @ApiModelProperty(value = "已分配量")
    private Integer allotCount;
}
